.class Les/qy$x0;
.super Ljava/lang/Object;
.source "BottomMenuItemProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/qy;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/qy;


# direct methods
.method constructor <init>(Les/qy;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/qy$x0;->a:Les/qy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 3

    .line 1
    iget-object p1, p0, Les/qy$x0;->a:Les/qy;

    invoke-static {p1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p1

    const/4 v0, 0x1

    if-eqz p1, :cond_2

    iget-object p1, p0, Les/qy$x0;->a:Les/qy;

    .line 2
    invoke-static {p1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p1

    instance-of p1, p1, Lcom/estrongs/android/view/m;

    if-nez p1, :cond_0

    goto :goto_0

    .line 3
    :cond_0
    iget-object p1, p0, Les/qy$x0;->a:Les/qy;

    .line 4
    invoke-static {p1}, Les/qy;->a(Les/qy;)Lcom/estrongs/android/pop/view/FileExplorerActivity;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/view/FileExplorerActivity;->Z()Lcom/estrongs/android/view/FileGridViewWrapper;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/view/m;

    if-eqz p1, :cond_2

    .line 5
    invoke-virtual {p1}, Lcom/estrongs/android/view/m;->q0()Z

    move-result v1

    if-nez v1, :cond_2

    .line 6
    invoke-virtual {p1}, Lcom/estrongs/android/view/m;->I0()Ljava/io/File;

    move-result-object v1

    instance-of v1, v1, Lcom/estrongs/io/model/ArchiveEntryFile;

    if-eqz v1, :cond_1

    .line 7
    invoke-virtual {p1}, Lcom/estrongs/android/view/m;->I0()Ljava/io/File;

    move-result-object v1

    check-cast v1, Lcom/estrongs/io/model/ArchiveEntryFile;

    invoke-virtual {v1}, Lcom/estrongs/io/model/ArchiveEntryFile;->isRoot()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 8
    invoke-virtual {p1}, Lcom/estrongs/android/view/m;->H0()Les/e80;

    move-result-object v1

    instance-of v1, v1, Lcom/estrongs/io/archive/rar/a;

    if-eqz v1, :cond_1

    .line 9
    invoke-virtual {p1}, Lcom/estrongs/android/view/m;->H0()Les/e80;

    move-result-object v1

    check-cast v1, Lcom/estrongs/io/archive/rar/a;

    invoke-virtual {v1}, Lcom/estrongs/io/archive/rar/a;->l()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 10
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-virtual {p1, v1, v0}, Lcom/estrongs/android/view/m;->a(Ljava/util/List;Z)V

    goto :goto_0

    .line 11
    :cond_1
    invoke-virtual {p1}, Lcom/estrongs/android/view/FeaturedGridViewWrapper;->p()Ljava/util/List;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {p1, v1, v2}, Lcom/estrongs/android/view/m;->a(Ljava/util/List;Z)V

    :cond_2
    :goto_0
    return v0
.end method
